package cn.xie.blog.model.common.ttl;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: xiaoxie
 * create: 2025-04-24 22:13
 * @BelongsProject: blog-parent
 * @BelongsPackage: cn.xie.blog.model.common.ttl
 * description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserContext implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long userId;
    private String userName;
    private String email;
    private String avatarUrl;
    private int isAdmin;
}
